package com.lei.chinese_herbal_medicine.Mapper;

import com.lei.chinese_herbal_medicine.Entity.Flow;

import java.util.List;

public interface FlowMapper {

    int deleteByPrimaryKey(String id);
    int deleteByModelId(String modelId);
    int insert(Flow record);

    int insertSelective(Flow record);

    Flow selectByPrimaryKey(String id);
    List<Flow> selectByModelId(String modelId);

    int updateByPrimaryKeySelective(Flow record);

    int updateByPrimaryKey(Flow record);
}
